﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="group.aspx.cs" Inherits="AnyOffice.general.addressPj.pub.group" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>分组管理</title>
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		
		<script>
function delete_group(group_id)
{
 msg='确认要删除该分组么？';
 if(window.confirm(msg))
 {
  URL="group_delete.aspx?group_id=" + group_id;
  window.location=URL;
 }
}

		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">	
         <div class="main_div">		
			<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="tab_ti">
							分组
					</td>
				</tr>
			</table>
			<br>
			<asp:Repeater id="rptGroup" runat="server" EnableViewState="False">
				<HeaderTemplate>
					<table  align="center" border="0" cellspacing="0" width="100%" class="tab_pub" cellpadding="0">
						<thead>
							<TR>
								<td class="TableHeader" nowrap align="center">分组名称</td>
								<td class="TableHeader" nowrap align="center" width="300">操作</td>
							</TR>
						</thead>
						<tr class="TableData">
							<td nowrap align="center">默认</td>
							<td nowrap>
								&nbsp;&nbsp;<a href="export.aspx?group_id=0" target="_blank">导出Excel</a>
							</td>
						</tr>
				</HeaderTemplate>
				<ItemTemplate>
					<tr class="TableLine2">
						<td nowrap  align="center"><%#Eval("GroupName")%></td>
						<td nowrap >
							&nbsp;&nbsp;<a href="export.aspx?group_id=<%#Eval("GroupId")%>">导出Excel</a>
						</td>
					</tr>
				</ItemTemplate>
				<AlternatingItemTemplate>
				<tr class="TableLine1">
						<td nowrap  align="center"><%#Eval("GroupName")%></td>
						<td nowrap >
							&nbsp;&nbsp;<a href="export.aspx?group_id=<%#Eval("GroupId")%>">导出Excel</a>
						</td>
					</tr>
				</AlternatingItemTemplate>
				<FooterTemplate>
					</table>
				</FooterTemplate>
			</asp:Repeater>
            </div>
		</form>
	</body>
</HTML>
